<%@ page language="java"  pageEncoding="UTF-8"%>
<%@include file="/common/jsp/cssAndScript.jsp"%>
<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/security" prefix="si" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>鼎烜电力集团备货单</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<script src="${pageContext.request.contextPath}/common/js/My97DatePicker/WdatePicker.js"></script>
	</head>
	<body>		
		<div id="pop_up_content" style="background-color: #FFFFFF;">
			<div class="pop_up_title images_1">
				送货清单
			</div>
			<div class="pop_up_body">
				<form id="thisForm" action="<%=basePath%>goodsOrder/goodsOrderAction!editGoodsOrder.action" method="post">
					<input type="hidden" value="<s:property value='form.id'/>" name="form.id"/>
					<input type="hidden" value="2" name="form.orderType"/>
					<input type="hidden" value="<s:property value='id'/>" name="form.contractId"/>
					<table width="700px" border="1" align="center" width="100" cellspacing="0" cellpadding="0" bordercolor="#000000" bordercolorlight="#000000" bordercolordark="#FFFFFF" height="100">  
						<tr>
							<td style="width: 15%" align="right">
								客户名称&nbsp;
							</td>
							<td style="width: 35%" >
								&nbsp;
								<s:property value="goodsOrderWrapper.customerName"/>
							</td>
							<td style="width: 15%" align="right">
								货单编号&nbsp;
							</td>
							<td style="width: 35%">
								&nbsp;<s:property value="goodsOrderWrapper.orderCode"/>
							</td>
						</tr>
						<tr>
							<td style="width: 15%" align="right">
								收货人&nbsp;
							</td>
							<td>
							&nbsp;<s:property value="goodsOrderWrapper.linkMan"/>
							</td>
							<td align="right">
								联系方式&nbsp;
							</td>
							<td>
							&nbsp;<s:property value="goodsOrderWrapper.linkManMode"/>
							</td>
						</tr >
						<tr>
							<td style="width: 15%" align="right">
								&nbsp;收货地址&nbsp;
							</td>
							<td colspan="3">
							 	&nbsp;<s:property value="goodsOrderWrapper.address"/>
							</td>
						</tr >
						<tr>
							<td colspan="4" style="border-bottom-width: 0px;border-left-width: 0px">
								<table width="100%" style="height:100%;border-top-width:0px;border-bottom-width:0px;" border="1" width="100"   cellspacing="0"   cellpadding="0"   bordercolor="#000000"   bordercolorlight="#000000"   bordercolordark="#FFFFFF"   height="100" frame="hsides">
									<tr>
										<td width="15%" align="right" >序号&nbsp;</td>
										<td width="35%" align="center" >货物名称</td>
										<td width="15%" align="center" >单位</td>
										<td width="15%" align="center" >数量</td>
										<td width="25%" align="center">包装方式</td>
									</tr>
									<s:if test="wrapperList!=null && wrapperList.size()>0">
										<s:iterator id="wrapperList" value="wrapperList" status="status">
											<tr>
												<td width="15%" align="right"><s:property value="#status.count"/></td>
												<td width="35%">&nbsp;<s:property value="productName"/></td>
												<td width="15%" align="center"><s:property value="productUnit"/></td>
												<td width="15%" align="center"><s:property value="countNum"/></td>
												<td width="25%" align="center"><s:property value="packingMode"/></td>
											</tr>
										</s:iterator>
									</s:if>
									<s:else>
										<tr>
											<td align="center" colspan="5">
												无记录
											</td>
										</tr>
									</s:else>
								</table>
							</td>
						</tr>
						<tr>
							<td align="right">填表人&nbsp;</td>
							<td>&nbsp;<s:property value="goodsOrderWrapper.writeUser"/></td>
							<td align="right">发货单位&nbsp;</td>
							<td>
								&nbsp;<s:property value="contractForm.projectUnit"/>
								<%--
								 北京鼎一伟信科技发展有限公司
								 <s:property value="contractForm.projectUnit"/>
								<s:property value="contractForm.projectUnit"/>
								 --%>
							</td>
						</tr>
						<tr>
							<td align="right">收货人签字&nbsp;</td>
							<td>&nbsp;<s:property value="goodsOrderWrapper.signUser"/></td>
							<td align="right">送货日期&nbsp;</td>
							<td>&nbsp;<s:property value="goodsOrderWrapper.orderTime"/></td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</body>
</html>